﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/default.master" AutoEventWireup="true" CodeFile="AllProduct.aspx.cs" Inherits="Pages_Comment_AllProduct" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>往日精品</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetProQuestList" 
        TypeName="Tuan.BLL.Review">
        <SelectParameters>
            <asp:CookieParameter CookieName="cityid" Name="cityid" Type="Int32" />
        </SelectParameters>
</asp:ObjectDataSource>
<div class="main2">
	<div class="main_l">
		<div class="l_top"></div>
		<div class="l_area3">
			<h5>讨论区</h5>
	  	  	<pan:SmartGridView ID="panGdvReviewList" runat="server" 
                AutoGenerateColumns="False" AllowPaging="True"  PageSize="5"
                DataSourceID="ObjectDataSource1" >
			    <Columns>
			        <asp:TemplateField>
			            <ItemTemplate>
	  	                    <div class="index_six">
	  	                        <h4><a href="/Pages/index.aspx?pid=<%# Eval("pid") %>"><%# Eval("ProductName") %></a></h4>
		                        <dl>
		                            <%#  string.IsNullOrEmpty(Eval("Body").ToString()) ? "" : Eval("UserEmail", "<dt><em>{0}</em>") + Eval("CreateOn", "于{0}发表评论:</dt>")+Eval("Body","<dt>{0}</dt>")%>
<%--			                        <dt><em><%# Eval("UserID") %></em> 于<%# Eval("CreateOn") %> 发表评论：</dt>
			                        <dt><%# Eval("Body") %></dt>--%>
			                        <dd class="index_six_r text5"><a href="/Pages/Comment/SingleShow.aspx?pid=<%# Eval("pid") %>">参与讨论</a></dd>
		                        </dl>
	                        </div>
			            </ItemTemplate>
			        </asp:TemplateField>
			    </Columns>
			       <CustomPagerSettings PagingMode="Webabcd" TextFormat="每页{0}条/共{1}条  第{2}页/共{3}页   " />
        <PagerSettings Position="Bottom" PageButtonCount="13" FirstPageText="首页" PreviousPageText="上一页"
            NextPageText="下一页" LastPageText="末页" />
			</pan:SmartGridView> 
		</div>
		<div class="l_bot"></div>
	</div>
	<div class="main2_r">
		<!--邀请有礼 开始-->
		<div class="index_r_area2">
			<h3 title="邀请有礼"><img src="/APP_themes/ftuan/images/r_nav5.gif" alt="邀请有礼" /></h3>
			<ul class="r_area2_one">
			    <li class="index_r_three_top"><img src="/app_themes/ftuan/images/yl.gif" />每邀请一位好友首次购买，您将获<b class="text5">¥10元</b><b class="f14">M</b> 币!</li>
				<li class="index_r_three_bot">&gt;&gt;  <a href='/Shared/invite.aspx' >点击获取您的专用邀请链接</a></li>
			</ul>
			<div class="index_r_area2_bot"></div>
		</div>
		<!--邀请有礼 结束-->
	</div>
	<DIV class="go-top"><A href="#uptop">↑顶部</A></DIV>
</div>
</asp:Content>

